package com.easylinkin.linkappapi.videomonitor.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.easylinkin.linkappapi.device.entity.Device;
import com.easylinkin.linkappapi.videomonitor.entity.DeviceVideoMonitor;
import java.util.List;

import com.easylinkin.linkappapi.videomonitor.entity.DeviceVideoMonitorVo;
import com.easylinkin.linkappapi.webcammanage.entity.DeviceAttributeStatus;
import org.apache.ibatis.annotations.Param;

public interface DeviceVideoMonitorMapper extends BaseMapper<DeviceVideoMonitor> {
    int batchInsert(@Param("list") List<DeviceVideoMonitor> list);

   List<DeviceVideoMonitorVo> getDeviceVideoMonitor(@Param("page") Page page, @Param("device") Device device);

   List<DeviceVideoMonitorVo> getDeviceVideoMonitor(@Param("device") Device device);

   List<DeviceVideoMonitorVo> getDeviceVideoMonitorNotBind(@Param("page") Page page, @Param("device") Device device);

   List<DeviceVideoMonitorVo> getDeviceVideoMonitorNotBind(@Param("device") Device device);

    List<DeviceAttributeStatus> getVideoInfoByDevice(@Param("deviceId") String deviceId);

  List<DeviceVideoMonitorVo> getAllDeviceVideoMonitor(@Param("device") Device device);
}